package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 投诉信息对象 service_complaint
 * 
 * @author yepanpan
 * @date 2025-04-21
 */
@Data
public class ServiceComplaint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 单位区域 */
    @Excel(name = "单位区域")
    private String deptName;
    @NotNull
    private Long deptId;

    /** 户主 */
    @Excel(name = "业主姓名")
    private String personName;
    @Excel(name = "业主身份证")
    private String personCard;

    /** 业主 */
    @Excel(name = "业主")
    @NotNull
    private Long personId;

    /** 投诉内容 */
    @Excel(name = "投诉内容")
    @NotNull
    private String content;

    /** 投诉图片 */
    @Excel(name = "投诉图片")
    @NotNull
    private String imgs;

    /** 投诉对象 */
    @Excel(name = "投诉对象")
    @NotNull
    private String toObject;

    /** 被投诉人 */
    @Excel(name = "被投诉人")
    private String toUserName;
    private Long toUserId;

    /** 回访人 */
    @Excel(name = "回访人")
    private String visitUserName;
    private Long visitUserId;

    /** 回访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回访时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visitTime;

    /** 回访方式 */
    @Excel(name = "回访方式", dictType="visit_type", comboReadDict=true)
    private String visitWay;

    /** 回访说明 */
    @Excel(name = "回访说明")
    private String visitContent;

    /** 回访照片 */
    @Excel(name = "回访照片")
    private String visitImgs;


}
